package com.jshop.seckill.http;

/**
 * 返回码和状态码对应信息
 */
public class StatusCode {

    public static final int OK=20000;//成功
    public static final int ERROR =20001;//失败
    public static final int LOGINERROR =20002;//用户名或密码错误
    public static final int ACCESSERROR =20003;//权限不足
    public static final int REMOTEERROR =20004;//远程调用失败
    public static final int REPERROR =20005;//重复操作

    public static final String OK_MSG ="执行成功";//成功
    public static final String ERROR_MSG  ="执行失败";//失败
    public static final String LOGINERROR_MSG  ="用户名或密码错误";//用户名或密码错误
    public static final String ACCESSERROR_MSG  ="权限不足";//权限不足
    public static final String REMOTEERROR_MSG  ="远程调用失败";//远程调用失败
    public static final String REPERROR_MSG  ="重复操作";//重复操作

}
